﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.FIM
{
    [Table("FimMasBankAccountType")]
    public class MasBankAccountType
    {

        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [DataMember, Display(Name = "BankAccTypeId", ResourceType = typeof(Resources.MasBankAccountType))]
        public int BankAccTypeId { get; set; }

        [DataMember, Display(Name = "Name", ResourceType = typeof(Resources.MasBankAccountType))]
        public string Name { get; set; }

        [DataMember, Display(Name = "BankAccTypeGrpId", ResourceType = typeof(Resources.MasBankAccountType))]
        public int? BankAccTypeGrpId { get; set; }

        [DataMember, Display(Name = "Remarks", ResourceType = typeof(Resources.MasBankAccountType))]
        public string Remarks { get; set; }

        [DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.MasBankAccountTypesResource))]
        public string RecordStatus { get; set; }

        [DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.MasBankAccountTypesResource))]
        public Nullable<int> CreatedBy { get; set; }

        [DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.MasBankAccountTypesResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

        [DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.MasBankAccountTypesResource))]
        public Nullable<int> UpdatedBy { get; set; }

        [DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.MasBankAccountTypesResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }
         
    }
}